package com.ruoyi.tester.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务-接口关联关系对象 tester_task_interface_relation
 * 
 * @author SJ
 * @date 2022-04-25
 */
public class TesterTaskInterfaceRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关系id */
    private Long relationId;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 接口id */
    @Excel(name = "接口id")
    private Long interfaceId;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String description;

    /** 主机 */
    @Excel(name = "主机")
    private String host;

    /** 端口 */
    @Excel(name = "端口")
    private Integer port;

    /** 依赖关系id(以逗号分隔) */
    @Excel(name = "依赖关系id(以逗号分隔)")
    private String dependRelationIds;

    /** 依赖参数 */
    @Excel(name = "依赖参数")
    private String dependParam;

    /** content_type */
    @Excel(name = "content_type")
    private String contentType;

    /** query参数 */
    @Excel(name = "query参数")
    private String queryParam;

    /** body参数 */
    @Excel(name = "body参数")
    private String bodyParam;

    /** path参数 */
    @Excel(name = "path参数")
    private String pathParam;

    /** 登录配置id */
    @Excel(name = "登录配置id")
    private Long loginConfigId;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setRelationId(Long relationId)
    {
        this.relationId = relationId;
    }

    public Long getRelationId()
    {
        return relationId;
    }
    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId()
    {
        return taskId;
    }
    public void setInterfaceId(Long interfaceId)
    {
        this.interfaceId = interfaceId;
    }

    public Long getInterfaceId()
    {
        return interfaceId;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setHost(String host)
    {
        this.host = host;
    }

    public String getHost()
    {
        return host;
    }
    public void setPort(Integer port)
    {
        this.port = port;
    }

    public Integer getPort()
    {
        return port;
    }
    public void setDependRelationIds(String dependRelationIds)
    {
        this.dependRelationIds = dependRelationIds;
    }

    public String getDependRelationIds()
    {
        return dependRelationIds;
    }
    public void setDependParam(String dependParam)
    {
        this.dependParam = dependParam;
    }

    public String getDependParam()
    {
        return dependParam;
    }
    public void setContentType(String contentType)
    {
        this.contentType = contentType;
    }

    public String getContentType()
    {
        return contentType;
    }
    public void setQueryParam(String queryParam)
    {
        this.queryParam = queryParam;
    }

    public String getQueryParam()
    {
        return queryParam;
    }
    public void setBodyParam(String bodyParam)
    {
        this.bodyParam = bodyParam;
    }

    public String getBodyParam()
    {
        return bodyParam;
    }
    public void setPathParam(String pathParam)
    {
        this.pathParam = pathParam;
    }

    public String getPathParam()
    {
        return pathParam;
    }
    public void setLoginConfigId(Long loginConfigId)
    {
        this.loginConfigId = loginConfigId;
    }

    public Long getLoginConfigId()
    {
        return loginConfigId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("relationId", getRelationId())
                .append("taskId", getTaskId())
                .append("interfaceId", getInterfaceId())
                .append("description", getDescription())
                .append("host", getHost())
                .append("port", getPort())
                .append("dependRelationIds", getDependRelationIds())
                .append("dependParam", getDependParam())
                .append("contentType", getContentType())
                .append("queryParam", getQueryParam())
                .append("bodyParam", getBodyParam())
                .append("pathParam", getPathParam())
                .append("loginConfigId", getLoginConfigId())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
